#ifndef LAYER_H_
#define LAYER_H_

#include "Drawable.h"
#include <map>

namespace JDL
{
  class Layer : public Drawable
  {
  public:
    Layer();
    virtual ~Layer();
    virtual void	Render(SDL_Surface *screen);
    void		AddObject(std::string name, Drawable *obj);
    void		DelObject(std::string name);
    
  private:
    std::map<std::string, Drawable*>	_objs;

  };
}

#endif
